package chord;

import java.io.Serializable;

import org.jgroups.Address;

public class SearchMessage implements Serializable
{
    Address addrSrc;
    int intKeyToSearch;
    int intHopCount;
    long lngNanoTime;
    
    SearchMessage()
    {
	this.addrSrc = null;
	this.intKeyToSearch = 0;
	this.intHopCount = 0;
	this.lngNanoTime = 0;
    }

    public void stopTimer()
    {
	this.lngNanoTime = System.nanoTime() - this.lngNanoTime;	
    }
}
